package com.zth.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zth.mapper.ConfigMapper;
import com.zth.pojo.Config;
import com.zth.service.ConfigService;

@Service
@Transactional
public class ConfigServiceImpl implements ConfigService{
	@Autowired
	private ConfigMapper configMapper;
		
	@Override
	public List<Config> findAll() {
		return configMapper.findAll();
	}

	@Override
	public int editFooter(Config config) {
		return configMapper.editFooter(config);
	}

}
